GNUSH v0903
October
5th,
2009
KPIT Cummins
Infosystems Limited is releasing the GNUSH v0903 toolchain, which is a
cross compiler tool for
Renesas (formerly
Hitachi and Mitsubishi) SH series of
microcontrollers.
SALIENT
FEATURES:
1. |
The
GNUSH v0903 toolchain is based on gcc-4.4.1 [released], binutils-2.19.1
[released], newlib-1.17.0 [released], gdb-6.8.50 [dated 27th
March 2009]. |
2. |
The
latest patches are applied to gcc, binutils and newlib sources.
Please visit the following link for the patches applied to
the GNUSH toolchain,
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002004&id=78&lang=en
|
3. |
The
GNUSH v0903 ELF toolchain supports integration with the KPIT GNU
Eclipse v1.1.0 and later versions. KPIT GNU Eclipse is an Eclipse based Integrated
Development Environment (IDE) providing a user interface to the KPIT
GNUSH ELF toolchains (for Windows
and Linux).
KPIT GNU Eclipse complements the Renesas HEW IDE and offers
users more options for development.
Please visit the following link for more information on KPIT
GNU Eclipse,
http://www.kpitgnutools.com/releaseNotes.php?view=RNDET&RN=365
|
4. |
A new
'optimize' attribute has been added from GCC-4.4 onwards to
allow programmers to change the optimisation level and
particular optimisation options for an individual function.
Sample use of this attribute is shown below,
int foo(int i) __attribute__((optimize("-O3"))); |
ABOUT GNUSH
v0903 :
Release version: |
GNUSH
v0903 |
Release Date: |
October 5th, 2009 |
Platforms Supported: |
Red
Hat GNU/Linux v8.0 or later (or compatible distribution)
Windows NT/2000/XP/Vista |
NOTE:
The GNUSH v0903 ELF toolchain works on Windows 7. No issues have
been observed on this platform. Windows 7 is not yet officially
supported, however. |
Language: |
C,
C99,
C++ |
Targets: |
SH-1 |
|
SH-2 |
|
SH-2A |
|
SH-2E |
|
SH2-DSP |
|
SH-3
|
|
SH-3E |
|
SH3-DSP |
|
SH-4
|
|
SH-4A
|
|
SH-4AL-DSP |
Object File Format: |
ELF |
CHANGES IN
THIS RELEASE:
This section
describes the enhancements made and the issues fixed in the v0903
release.
GCC:
1. |
When the 'sp_switch' attribute was used for SH targets,
compiler generated garbled code for the instruction to
assign a new stack pointer (SP) for the interrupt service
routine.
The issue has now been fixed.
|
HEW (For
Windows OS only):
1.
|
Use
of the Flash Development Tool (FDT) plug-ins under HEW is
deprecated. Hence, users are advised to download the latest
version of the FDT application and use it independently for
Flash downloads. |
KNOWN
LIMITATIONS IN SH-ELF:
This section
describes the known problems in this release. We intend to fix these
issues in our future releases.
We
occasionally release maintenance packs for critical bugs fixes.
Windows and
GNU/Linux:
1. |
In
newlib, 'fmod' function fails with and without "-mrenesas"
option for the following single precision targets, |
a. |
SH2E |
b. |
SH2A-Single-Only |
c. |
SH3E |
d. |
SH4-Single-Only (little endian and big endian) |
e. |
SH4A-Single-Only (little endian and big endian) |
2. |
The
'log10', 'ldexp' and 'frexp' functions of optimised libraries
fail for SH4-Single-Only (little endian) and SH4A-Single-Only
(little endian) targets. |
3. |
Library Generator: Please visit the following link for the
known issues and limitations related to this utility,
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002003&id=415&lang=en |
4. |
The
SH peripheral registers have strict access size requirements
with some registers requiring a byte level access. The GNUSH
compiler generates a word level instruction "mov.w" to
access these peripheral registers. This type of access currently
fails on hardware. Please visit the following link for more
details,
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002003&id=430&lang=en
|
HEW (For
Windows OS only):
NOTE:
Windows
and GNU/Linux:
1. |
The
optimised libraries provided
along with the Newlib libraries in
the toolchain do not require a
separate download. |
2. |
The
optimised libraries ('liboptm.a'
and 'liboptc.a') are not provided
under GNU GPL. The source code of these
optimised libraries is neither released nor available on
request. |
3. |
The "libgen"
utility is not provided under GNU GPL. The source code of the "libgen"
utility is neither released nor available on request. |
For free
technical support please register at
http://www.kpitgnutools.com/
For your feedback and suggestions please visit
http://www.kpitgnutools.com/feedback.php |